package cn.yunhe.java.convert;



import cn.yunhe.java.dto.MerchantDTO;
import cn.yunhe.java.entity.Merchant;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantConvert {
    MerchantConvert INSTANCE = Mappers.getMapper(MerchantConvert.class);
    MerchantDTO entity2Dto(Merchant merchant);
    Merchant dto2Entity(MerchantDTO dto);
}
